#ifndef WORLD_H
#define WORLD_H
#include "frame.h"
#include "viewport.h"

class World {
public:
  World(Frame * const f) 
    : frame(*f), worldX(0.0), worldY(0.0), view(Viewport::getInstance()) {}
  void update();
  void draw() const { frame.draw(worldX, worldY, 0, 0); }
private:
  Frame& frame;
  float worldX;
  float worldY;
  Viewport * view;
  World(const World&);
  World& operator=(const World&);
};
#endif
